package connection;

import javax.persistence.EntityManagerFactory;
import javax.persistence.Persistence;

public class EMF {

	private static final EntityManagerFactory emf = criar();

	private static EntityManagerFactory criar() {
		return Persistence.createEntityManagerFactory("sistema-fecularia-tcc");
	}

	public static EntityManagerFactory get() {
		return emf;
	}

}
